Identifying Extract Method Opportunities Based on Variable References (S)
نویسندگان
چکیده
Long methods are usually difficult to read and comprehend due to the length and complexity of the code. As a result, maintenance can be time consuming and costly. One strategy to lower overall cost of software development for large systems is to produce smaller and less complex methods through method refactoring. This paper presents a new technique to automate the selection process of program fragments for refactoring. The soundness of this technique has been demonstrated through experiments on several different software systems. Long method defects can effectively be resolved by extracting code fragments identified with the support of a tool we have developed. Keywords-Extract Method Refactoring; Long Method defects; Placement Tree
منابع مشابه
Identifying refactoring opportunities in object-oriented code: A systematic literature review
Context: Identifying refactoring opportunities in object-oriented code is an important stage that precedes the actual refactoring process. Several techniques have been proposed in the literature to identify opportunities for various refactoring activities. Objective: This paper provides a systematic literature review of existing studies identifying opportunities for code refactoring activities....
متن کاملIdentifying Factors Affecting Sustainability Reporting of Pharmaceutical Companies: Application of Delphi and Analytic Network Process based on Fuzzy DEMATEL
Background: Today, one of the most important concerns in the pharmaceutical industry is achieving sustainability, and the pharmaceutical industry is recognized as a leading sector in corporate sustainability reporting. The purpose of this study was to identify, extract, prioritize and analyze the social factors and corporate characteristics which are effective in the sustainability reporting of...
متن کاملIdentifying ecosystem, opportunities and environmental of educational entrepreneurship
The aim of this study was to identify the ecosystem, opportunities and threats of educational entrepreneurship, which has been done with a qualitative approach.The statistical population of the study is educational entrepreneurs of Tehran, who have established an innovative institution and institution in the field of education.First, the educational entrepreneurship ecosystem was evaluated by d...
متن کاملIdentifying ecosystem, opportunities and environmental of educational entrepreneurship
The aim of this study was to identify the ecosystem, opportunities and threats of educational entrepreneurship, which has been done with a qualitative approach.The statistical population of the study is educational entrepreneurs of Tehran, who have established an innovative institution and institution in the field of education.First, the educational entrepreneurship ecosystem was evaluated by d...
متن کاملIdentifying and Prioritizing Innovative Opportunities for Tourism Investment in Mashhad City
ecause a large number of tourists come to Mashhad, this city has a high potential for the development of tourism-related activities. Therefore, it is necessary to equip resources for tourism activities and investment in this regard. Despite the highest tourism potential in Mashhad, there are great opportunities for the tourism industry, which has not been fully identified and has not been made...
متن کامل